/*
* 预科毕业管理路由配置
* @Date 2020-10-27
**/
const auditStandard = resolve =>
  require(['common/src/views/preparatoryGraduation/auditStandards'], resolve);
const completionAudit = resolve =>
  require(['common/src/views/preparatoryGraduation/completionAudit/index.vue'], resolve);
const auditDetail = resolve =>
  require(['common/src/views/preparatoryGraduation/completionAudit/components/auditDetail'], resolve);
const completionManagement = resolve =>
  require(['common/src/views/preparatoryGraduation/completionManagement'], resolve);
const achievementManage = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/achievementManage'],
    resolve);
const manualRecruitMajor = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/manualRecruitMajor'],
    resolve);
const recruitMajorSetting = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/recruitMajorSetting'],
    resolve);
const recruitManage = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/recruitManage'], resolve);
const recruitPermission = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/recruitPermission'],
    resolve);
const studentRecruit = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/studentRecruit'], resolve);
const preparatoryLog = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/preparatoryLog'], resolve);
const preparatoryExamPlan = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/preparatoryExamPlan'], resolve);
  const preparatoryStudentExamQuery = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/preparatoryStudentExamQuery'], resolve);  
const preparatoryStudentScore = resolve =>
  require(['common/src/views/preparatoryGraduation/admission/preparatoryStudentScore'], resolve);  
import layout from 'common/src/views/layout/base';

const preparatoryGraduation = {
  path: '/preparatoryGraduation',
  name: 'preparatoryGraduation',
  component: layout,
  children: [
    // 结业审核标准维护
    {
      path: '/auditStandard',
      name: 'auditStandard',
      component: auditStandard,
      meta: {
        nokeepalive: true
      }
    },
    // 结业资格审核
    {
      path: '/completionAudit',
      name: 'completionAudit',
      component: completionAudit,
      meta: {
        nokeepalive: true
      }
    },
    // 结业资格审核机审详情页
    {
      path: '/auditDetail',
      name: 'auditDetail',
      component: auditDetail,
      meta: {
        nokeepalive: true
      }
    },
    // 结业管理
    {
      path: '/completionManagement',
      name: 'completionManagement',
      component: completionManagement,
      meta: {
        nokeepalive: true
      }
    },
    //录取管理
    {
      path: '/achievementManage',
      name: 'achievementManage',
      component: achievementManage
    },
    {
      path: '/manualRecruitMajor',
      name: 'manualRecruitMajor',
      component: manualRecruitMajor
    },
    {
      path: '/recruitMajorSetting',
      name: 'recruitMajorSetting',
      component: recruitMajorSetting
    },
    {
      path: '/recruitManage',
      name: 'recruitManage',
      component: recruitManage
    },
    {
      path: '/recruitPermission',
      name: 'recruitPermission',
      component: recruitPermission
    },
    {
      path: '/studentRecruit',
      name: 'studentRecruit',
      component: studentRecruit
    },
    {
      path: '/preparatoryLog',
      name: 'preparatoryLog',
      component: preparatoryLog
    },
    {
      path: '/preparatoryExamPlan',
      name: 'preparatoryExamPlan',
      component: preparatoryExamPlan
    },
    {
      path: '/preparatoryStudentExamQuery',
      name: 'preparatoryStudentExamQuery',
      component: preparatoryStudentExamQuery
    },
    {
      path: '/preparatoryStudentScore',
      name: 'preparatoryStudentScore',
      component: preparatoryStudentScore
    }
  ]
};

export default preparatoryGraduation;
